﻿@using DLM.Infrastructure.Configuration;
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>活动详情</title>
    <link href="@Url.Content("~/Content/css/admin/global.css")" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery-1.7.1.min.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/admin/global.js")"></script>
    <script src="@Url.Content("~/Scripts/jquery.unobtrusive-ajax.min.js")" type="text/javascript"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery-ui-1.8.18.custom.min.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery-ui-1.8.11.min.js")"></script>
    <script type="text/javascript">
        $(function () {
            $('#add_dialog_link').click(function () {
                $('#add_dialog').dialog({ modal: true }, { width: 680 }, { height: 480 });
            });
        });


    </script>
</head>
<body id="main_body">
    <div class="c1">
        <h1>
            <span>广告图片维护</span></h1>
        <div class="form_box">
            <div class="form_area">
                <fieldset>
                    <legend>目前的广告</legend>
                    @{string path = ApplicationSettingsFactory.GetApplicationSettings().AdvPath;}
                    <img src="@Url.Content("~/" + path)" alt="广告" />
                </fieldset>
                             @using(Html.BeginForm("UploadAdv", "Party", FormMethod.Post, new {enctype = "multipart/form-data" }))
	{
                <fieldset>
                    <legend>
                        新广告
                    </legend>
   
                   
		           <input type="file" name="uploadFile" />
                 

                        
	  <input type="submit" value="提交" class="btn" />
                
                </fieldset>
                }
                  
            </div>
        </div>
    </div>
</body>
</html>
